package team.pra.manager.common;

import lombok.*;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class PageBean<T> {
    @NonNull
    private Integer code;//当前页码
    @NonNull
    private Integer size;//一页显示的数据条数
    private List<T> rows;//数据
    private Integer total;//数据总数

}
